package com.RedRiver.hospitalsystem.personal_service.infra.model;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 龙世超
 * @since 2022-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_menus")
public class Menus implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜单id
     */
    @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;

    /**
     * 菜单名
     */
    private String menuName;

    /**
     * 图标
     */
    private String menuIcon;

    /**
     * 路由
     */
    private String menuRouter;

    /**
     * 父节点
     */
    private Integer menuParent;

    /**
     * 叶子节点
     */
    private Integer menuType;

    /**
     * 逻辑删除
     */
    @TableField("isDeleted")
    @TableLogic
    private Integer isDeleted;
}
